package com.etone.smartAudit.vo.item;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-07-16 11:01:25
 * @Description ItemVO
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "项目列表")
public class ItemListVO extends ItemBaseVO implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("资源状态是否正常")
    private Boolean isNormal;

    @ApiModelProperty("是否正在初次申请")
    private Boolean isFirstApply;

    @ApiModelProperty("是否正在扩容")
    private Boolean isExpansion;

    @ApiModelProperty("初次资源申请是否完成")
    private Boolean isFirstApplyOver;

    @ApiModelProperty("资源使用情况")
    private List<ItemSourceUsedVO> sources;

    @ApiModelProperty("子任务")
    private List<ItemListVO> children;
}
